﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CommonSense.UI.MVVM.EventAggregator
{
    public interface IEventAggregator
    {
        void Subscribe<TEvent>(IEventSubscriber<TEvent> subscriber);
        void Unsubscribe<TEvent>(IEventSubscriber<TEvent> subscriber);
        void Notify<TEvent>(TEvent eventData);
    }
}
